package com.ychug.service.cms.entity;


import com.ychug.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 栏目表 cms_category
 * 
 * @author mcpcms
 * @date 2019-04-30
 */
public class CmsCategoryEntity extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 栏目id */
	private Integer catId;
	/** 站点编号 */
	private Integer siteId;
	/** 栏目编码 */
	private String catCode;
	/** 父级编号 */
	private String parentId;
	/** 父级名称 */
	private String parentName;
	/** 栏目名称 */
	private String catName;
	/** 栏目英文 */
	private String catEnglish;
	/** 栏目图 */
	private String image;
	/** 页面标题 */
	private String title;
	/** 关键词 */
	private String keywords;
	/** 描述文字 */
	private String description;
	/** 链接 */
	private String catUrl;
	/** 栏目模型 */
	private String catModelid;
	/** 文档模型 */
	private String newsModelid;
	/** 栏目模板 */
	private String catTemplate;
	/** 文档模板 */
	private String newsTemplate;
	/** 是否生成栏目页 */
	private String isGenerateNode;
	/** 是否生成文档页 */
	private String isGenerateNews;
	/** 栏目页扩展名 */
	private String catExt;
	/** 文档页扩展名 */
	private String newsExt;
	/** 栏目路径 */
	private String catPath;
	/** 文档路径 */
	private String newsPath;
	/** 是否默认页 */
	private String isDefPage;
	/** 静态页生成方式(0:手动生成;1:自动生成栏目页;2:自动生成文档页及栏目页;3:自动生成文档页、栏目页、父栏目页、首页) */
	private Integer staticMethod;
	/** 栏目列表静态化页数 */
	private Integer staticPage;
	/** 小图 */
	private String smallImage;
	/** 大图 */
	private String largeImage;
	/** 审核状态0、待审核  1、通过 2、未通过 */
	private Integer checkStatus;
	/** 状态:0、删除 1、正常 2、禁止 */
	private Integer status;
	/** 是否显示0、不显1、显示 */
	private Integer isShow;
	/** 排序 */
	private Integer sort;
	/** 创建者 */
	private String createBy;
	/** 创建时间 */
	private Date createDate;
	/** 更新者 */
	private String updateBy;
	/** 更新时间 */
	private Date updateDate;
	/** 备注 */
	private String remark;



	public void setCatId(Integer catId) 
	{
		this.catId = catId;
	}

	public Integer getCatId() 
	{
		return catId;
	}
	public void setSiteId(Integer siteId) 
	{
		this.siteId = siteId;
	}

	public Integer getSiteId() 
	{
		return siteId;
	}
	public void setCatCode(String catCode) 
	{
		this.catCode = catCode;
	}

	public String getCatCode() 
	{
		return catCode;
	}
	public void setParentId(String parentId) 
	{
		this.parentId = parentId;
	}

	public String getParentId() 
	{
		return parentId;
	}
	public void setCatName(String catName) 
	{
		this.catName = catName;
	}

	public String getCatName() 
	{
		return catName;
	}
	public void setCatEnglish(String catEnglish) 
	{
		this.catEnglish = catEnglish;
	}

	public String getCatEnglish() 
	{
		return catEnglish;
	}
	public void setImage(String image) 
	{
		this.image = image;
	}

	public String getImage() 
	{
		return image;
	}
	public void setTitle(String title) 
	{
		this.title = title;
	}

	public String getTitle() 
	{
		return title;
	}
	public void setKeywords(String keywords) 
	{
		this.keywords = keywords;
	}

	public String getKeywords() 
	{
		return keywords;
	}
	public void setDescription(String description) 
	{
		this.description = description;
	}

	public String getDescription() 
	{
		return description;
	}
	public void setCatUrl(String catUrl) 
	{
		this.catUrl = catUrl;
	}

	public String getCatUrl() 
	{
		return catUrl;
	}
	public void setCatModelid(String catModelid) 
	{
		this.catModelid = catModelid;
	}

	public String getCatModelid() 
	{
		return catModelid;
	}
	public void setNewsModelid(String newsModelid) 
	{
		this.newsModelid = newsModelid;
	}

	public String getNewsModelid() 
	{
		return newsModelid;
	}
	public void setCatTemplate(String catTemplate) 
	{
		this.catTemplate = catTemplate;
	}

	public String getCatTemplate() 
	{
		return catTemplate;
	}
	public void setNewsTemplate(String newsTemplate) 
	{
		this.newsTemplate = newsTemplate;
	}

	public String getNewsTemplate() 
	{
		return newsTemplate;
	}
	public void setIsGenerateNode(String isGenerateNode) 
	{
		this.isGenerateNode = isGenerateNode;
	}

	public String getIsGenerateNode() 
	{
		return isGenerateNode;
	}
	public void setIsGenerateNews(String isGenerateNews) 
	{
		this.isGenerateNews = isGenerateNews;
	}

	public String getIsGenerateNews() 
	{
		return isGenerateNews;
	}
	public void setCatExt(String catExt) 
	{
		this.catExt = catExt;
	}

	public String getCatExt() 
	{
		return catExt;
	}
	public void setNewsExt(String newsExt) 
	{
		this.newsExt = newsExt;
	}

	public String getNewsExt() 
	{
		return newsExt;
	}
	public void setCatPath(String catPath) 
	{
		this.catPath = catPath;
	}

	public String getCatPath() 
	{
		return catPath;
	}
	public void setNewsPath(String newsPath) 
	{
		this.newsPath = newsPath;
	}

	public String getNewsPath() 
	{
		return newsPath;
	}
	public void setIsDefPage(String isDefPage) 
	{
		this.isDefPage = isDefPage;
	}

	public String getIsDefPage() 
	{
		return isDefPage;
	}
	public void setStaticMethod(Integer staticMethod) 
	{
		this.staticMethod = staticMethod;
	}

	public Integer getStaticMethod() 
	{
		return staticMethod;
	}
	public void setStaticPage(Integer staticPage) 
	{
		this.staticPage = staticPage;
	}

	public Integer getStaticPage() 
	{
		return staticPage;
	}
	public void setSmallImage(String smallImage) 
	{
		this.smallImage = smallImage;
	}

	public String getSmallImage() 
	{
		return smallImage;
	}
	public void setLargeImage(String largeImage) 
	{
		this.largeImage = largeImage;
	}

	public String getLargeImage() 
	{
		return largeImage;
	}
	public void setCheckStatus(Integer checkStatus) 
	{
		this.checkStatus = checkStatus;
	}

	public Integer getCheckStatus() 
	{
		return checkStatus;
	}
	public void setStatus(Integer status) 
	{
		this.status = status;
	}

	public Integer getStatus() 
	{
		return status;
	}
	public void setIsShow(Integer isShow) 
	{
		this.isShow = isShow;
	}

	public Integer getIsShow() 
	{
		return isShow;
	}
	public void setSort(Integer sort) 
	{
		this.sort = sort;
	}

	public Integer getSort() 
	{
		return sort;
	}
	public void setCreateBy(String createBy) 
	{
		this.createBy = createBy;
	}

	public String getCreateBy() 
	{
		return createBy;
	}
	public void setCreateDate(Date createDate) 
	{
		this.createDate = createDate;
	}

	public Date getCreateDate() 
	{
		return createDate;
	}
	public void setUpdateBy(String updateBy) 
	{
		this.updateBy = updateBy;
	}

	public String getUpdateBy() 
	{
		return updateBy;
	}
	public void setUpdateDate(Date updateDate) 
	{
		this.updateDate = updateDate;
	}

	public Date getUpdateDate() 
	{
		return updateDate;
	}
	public void setRemark(String remark) 
	{
		this.remark = remark;
	}

	public String getRemark() 
	{
		return remark;
	}

	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}

	public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("catId", getCatId())
            .append("siteId", getSiteId())
            .append("catCode", getCatCode())
            .append("parentId", getParentId())
            .append("catName", getCatName())
            .append("catEnglish", getCatEnglish())
            .append("image", getImage())
            .append("title", getTitle())
            .append("keywords", getKeywords())
            .append("description", getDescription())
            .append("catUrl", getCatUrl())
            .append("catModelid", getCatModelid())
            .append("newsModelid", getNewsModelid())
            .append("catTemplate", getCatTemplate())
            .append("newsTemplate", getNewsTemplate())
            .append("isGenerateNode", getIsGenerateNode())
            .append("isGenerateNews", getIsGenerateNews())
            .append("catExt", getCatExt())
            .append("newsExt", getNewsExt())
            .append("catPath", getCatPath())
            .append("newsPath", getNewsPath())
            .append("isDefPage", getIsDefPage())
            .append("staticMethod", getStaticMethod())
            .append("staticPage", getStaticPage())
            .append("smallImage", getSmallImage())
            .append("largeImage", getLargeImage())
            .append("checkStatus", getCheckStatus())
            .append("status", getStatus())
            .append("isShow", getIsShow())
            .append("sort", getSort())
            .append("createBy", getCreateBy())
            .append("createDate", getCreateDate())
            .append("updateBy", getUpdateBy())
            .append("updateDate", getUpdateDate())
            .append("remark", getRemark())
            .toString();
    }
}
